﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NTQOnlineExam.Services.Models;

namespace NTQOnlineExamFrontend.Models
{
    public class TermInfoViewModel
    {
        
        public IList<TermDTO> TermByYear { get; set; }
        public IList<SectionDTO> Sections { get; set; }

        public int PageSize { get { return 15; } }
        public int Count { get; set; }
        public int PageCount { get { return Count / PageSize + (Count % PageSize > 0 ? 1 : 0); } }
        public int SelectedPage { get; set; }
    }
}